let baseSize = 16;
function resize() {
    let scale = document.documentElement.clientWidth / 1920;
    document.documentElement.style.fontSize = Math.min(scale, 2) * baseSize + 'px';
}
resize();
window.onresize = function () {
    resize();
}

var data = [156.098,
    156.061,
    155.909,
    155.74,
    155.607,
    155.506,
    155.468,
    155.547,
    155.579,
    155.603,
    155.617,
    155.624,
    155.627,
    155.628,
    155.629,
    155.629,
    155.63,
    155.631,
    155.63,
    155.628,
    155.625,
    155.622,
    155.618,
    155.615,
    155.611,
    155.607,
    155.604,
    155.6,
    155.596,
    155.593,
    155.59,
    155.587,
    155.584,
    155.581,
    155.578,
    155.575,
    155.573,
    155.57,
    155.568,
    155.565,
    155.563,
    155.561,
    155.559,
    155.557,
    155.555,
    155.553,
    155.551,
    155.549,
    155.547,
    155.546,
    155.544,
    155.543,
    155.541,
    155.539,
    155.538,
    155.537,
    155.536,
    155.534,
    155.533,
    155.532,
    155.531,
    155.53,
    155.529,
    155.528,
    155.527,
    155.526,
    155.525,
    155.525,
    155.524,
    155.523,
    155.522,
    155.521,
    155.521,
    155.52,
    155.519,
    155.518,
    155.517,
    155.516,
    155.515,
    155.514,
    155.513,
    155.512,
    155.513,
    155.514,
    155.515,
    155.516,
    155.517,
    155.518];
console.log(data.length)